package com.fansl.allround.wechat.app.error;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author fansl
 * @Description: 出错页面控制器
 * @date 2019/9/6 15:36
 */
@Controller
@RequestMapping("/error")
public class ErrorController {
    @GetMapping(value = "/404")
    public String error404() {
        return "error";
    }

    @GetMapping(value = "/500")
    public String error500() {
        return "error";
    }
}
